export const timeDic = [
    {
    label: '分钟',
    value: 1
    },
    {
    label: '小时',
    value: 2
    },
    {
    label: '天',
    value: 3
    },
    {
    label: '月',
    value: 4
    },
    {
    label: '年',
    value: 5
    },
] as DicData[];

export const dataPermissionType = [
    {
        label: '全部数据权限',
        value: '1'
    },
    {
        label: '自定义数据权限',
        value: '2'
    },
    {
        label: '本部门数据权限',
        value: '3'
    },
    {
        label: '本部门及以下数据权限',
        value: '4'
    },
    {
        label: '仅本人数据权限',
        value: '5'
    },
] as DicData[];


export const styleDict = [
    {
        label: '默认(default)',
        value: 'default'
    },
    {
        label: '主要(primary)',
        value: 'primary'
    },
    {
        label: '成功(success)',
        value: 'success'
    },
    {
        label: '信息(info)',
        value: 'info'
    },
    {
        label: '警告(warning)',
        value: 'warning'
    },
    {
        label: '危险(danger)',
        value: 'danger'
    },
] as DicData[];


class DicData {
    label:string
    value:any
}
